package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfImgInfoDao;
import com.wfcm.entity.WfImgInfoEntity;
import com.wfcm.service.WfImgInfoService;



@Service("wfImgInfoService")
public class WfImgInfoServiceImpl implements WfImgInfoService {
	@Autowired
	private WfImgInfoDao wfImgInfoDao;
	
	@Override
	public WfImgInfoEntity queryObject(Integer id){
		return wfImgInfoDao.queryObject(id);
	}
	
	@Override
	public List<WfImgInfoEntity> queryList(Map<String, Object> map){
		return wfImgInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfImgInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(WfImgInfoEntity wfImgInfo){
		wfImgInfoDao.save(wfImgInfo);
	}
	
	@Override
	public void update(WfImgInfoEntity wfImgInfo){
		wfImgInfoDao.update(wfImgInfo);
	}
	
	@Override
	public void delete(Integer id){
		wfImgInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfImgInfoDao.deleteBatch(ids);
	}
	
}
